body, html {
    height: 100%;
    margin: 0;
    background: linear-gradient(135deg, #e0d7f9, #f9e0f3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(150, 130, 170, 0.3);
    width: 380px;
    padding: 40px 30px;
    color: #4a3f6d;
    position: relative;
    transition: transform 0.3s ease;
}
.login-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(150, 130, 170, 0.5);
}

h2 {
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    color: #6a5d9e;
}

label {
    font-weight: 600;
    color: #7a6ca8;
}

.form-control {
    background: #faf7ff;
    border: 1.5px solid #c4b8e6;
    border-radius: 0.5rem;
    color: #4a3f6d;
    font-weight: 500;
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
    border-color: #a591e3;
    box-shadow: 0 0 8px rgba(165, 145, 227, 0.5);
    color: #4a3f6d;
    outline: none;
    background: #f3f0ff;
}

button.btn-primary {
    width: 100%;
    background: linear-gradient(90deg, #a59ee6, #c6b8f6);
    border: none;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 12px 0;
    border-radius: 0.75rem;
    box-shadow: 0 3px 12px rgba(165, 158, 230, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    font-size: 1.05rem;
    color: #3f3676;
}
button.btn-primary:hover {
    background: linear-gradient(90deg, #c6b8f6, #a59ee6);
    box-shadow: 0 6px 20px rgba(198, 184, 246, 0.7);
    color: #3f3676;
}

.alert {
    border-radius: 0.5rem;
    font-weight: 600;
    text-shadow: none;
}

p.mt-3 {
    text-align: center;
    color: #6a5d9e;
    font-weight: 600;
    letter-spacing: 0.5px;
}

p.mt-3 a {
    color: #836fc2;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

p.mt-3 a:hover {
    color: #a59ee6;
    text-decoration: none;
}